<script>
(global.webpackJsonp = global.webpackJsonp || []).push([ [ "common/main" ], {
    "27ae": function(e, t, n) {
        (function(e) {
            function t(e) {
                return e && e.__esModule ? e : {
                    default: e
                };
            }
            function o(e, t) {
                var n = Object.keys(e);
                if (Object.getOwnPropertySymbols) {
                    var o = Object.getOwnPropertySymbols(e);
                    t && (o = o.filter(function(t) {
                        return Object.getOwnPropertyDescriptor(e, t).enumerable;
                    })), n.push.apply(n, o);
                }
                return n;
            }
            function r(e, t, n) {
                return t in e ? Object.defineProperty(e, t, {
                    value: n,
                    enumerable: !0,
                    configurable: !0,
                    writable: !0
                }) : e[t] = n, e;
            }
            n("559a");
            var a = t(n("66fd")), c = t(n("5f56")), u = t(n("c7dd")), i = t(n("4146")), f = t(n("2740")), d = t(n("a955"));
            a.default.prototype.util = i.default, a.default.prototype.api = f.default, a.default.config.productionTip = !1, 
            a.default.use(d.default), a.default.component("tab-bar", function() {
                n.e("components/common/tabbar").then(function() {
                    return resolve(n("e863"));
                }.bind(null, n)).catch(n.oe);
            }), a.default.component("mg-img", function() {
                n.e("components/common/mg-img").then(function() {
                    return resolve(n("cd4a"));
                }.bind(null, n)).catch(n.oe);
            }), a.default.component("mg-cell", function() {
                n.e("components/common/mg-cell").then(function() {
                    return resolve(n("0fd7"));
                }.bind(null, n)).catch(n.oe);
            }), c.default.mpType = "app", e(new a.default(function(e) {
                for (var t = 1; t < arguments.length; t++) {
                    var n = null != arguments[t] ? arguments[t] : {};
                    t % 2 ? o(Object(n), !0).forEach(function(t) {
                        r(e, t, n[t]);
                    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : o(Object(n)).forEach(function(t) {
                        Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
                    });
                }
                return e;
            }({
                store: u.default
            }, c.default))).$mount();
        }).call(this, n("543d").createApp);
    },
    "49ef": function(e, t, n) {},
    "5f56": function(e, t, n) {
        n.r(t);
        var o = n("70a0");
        for (var r in o) "default" !== r && function(e) {
            n.d(t, e, function() {
                return o[e];
            });
        }(r);
        n("f297");
        var a = n("f0c5"), c = Object(a.a)(o.default, void 0, void 0, !1, null, null, null, !1, void 0, void 0);
        t.default = c.exports;
    },
    "70a0": function(e, t, n) {
        n.r(t);
        var o = n("89c0"), r = n.n(o);
        for (var a in o) "default" !== a && function(e) {
            n.d(t, e, function() {
                return o[e];
            });
        }(a);
        t.default = r.a;
    },
    "89c0": function(e, t, n) {
        (function(e) {
            function o(e) {
                return e && e.__esModule ? e : {
                    default: e
                };
            }
            function r(e, t, n, o, r, a, c) {
                try {
                    var u = e[a](c), i = u.value;
                } catch (e) {
                    return void n(e);
                }
                u.done ? t(i) : Promise.resolve(i).then(o, r);
            }
            function a(e) {
                return function() {
                    var t = this, n = arguments;
                    return new Promise(function(o, a) {
                        function c(e) {
                            r(i, o, a, c, u, "next", e);
                        }
                        function u(e) {
                            r(i, o, a, c, u, "throw", e);
                        }
                        var i = e.apply(t, n);
                        c(void 0);
                    });
                };
            }
            Object.defineProperty(t, "__esModule", {
                value: !0
            }), t.default = void 0;
            var c = o(n("a34a")), u = o(n("866e"));
            o(n("8f20"));
            var i = {
                globalData: {
                    siteInfo: '',
                    onImgurl: "https://new.xc2099.cn/static/miniapp/"
                },
                onLaunch: function() {
                    this.autoUpdate();
                },
                methods: {
                    autoUpdate: function() {
                        var t = this, n = e.getUpdateManager();
                        n.onCheckForUpdate(function(o) {
                            o.hasUpdate && e.showModal({
                                title: "更新提示",
                                confirmText: "确定更新",
                                showCancel: !1,
                                content: "新版本已经准备好，是否重启应用？",
                                success: function(o) {
                                    o.confirm ? t.downLoadAndUpdate(n) : e.showModal({
                                        title: "温馨提示~",
                                        content: "本次版本更新涉及到新的功能添加，旧版本无法正常访问的哦~",
                                        showCancel: !1,
                                        confirmText: "确定更新",
                                        success: function(e) {
                                            e.confirm && t.downLoadAndUpdate(n);
                                        }
                                    });
                                }
                            });
                        });
                    },
                    downLoadAndUpdate: function(t) {
                        e.showLoading(), t.onUpdateReady(function() {
                            e.hideLoading(), t.applyUpdate();
                        }), t.onUpdateFailed(function() {
                            e.hideLoading(), e.showModal({
                                title: "已经有新版本了哟~",
                                content: "新版本已经上线啦~，请您删除当前小程序，重新搜索打开哟~"
                            });
                        });
                    }
                },
                onShow: function() {
                    var e = a(c.default.mark(function e(t) {
                        var n;
                        return c.default.wrap(function(e) {
                            for (;;) switch (e.prev = e.next) {
                              case 0:
                                if (!t) {
                                    e.next = 8;
                                    break;
                                }
                                if (!t.hasOwnProperty("referrerInfo")) {
                                    e.next = 8;
                                    break;
                                }
                                if ("wxeb490c6f9b154ef9" != t.referrerInfo.appId) {
                                    e.next = 8;
                                    break;
                                }
                                if (!t.referrerInfo.extraData) {
                                    e.next = 8;
                                    break;
                                }
                                return e.next = 6, this.util.request({
                                    url: this.api.jhhyk,
                                    method: "POST",
                                    data: {
                                        activate_ticket: t.referrerInfo.extraData.activate_ticket,
                                        card_id: t.referrerInfo.extraData.card_id,
                                        code: t.referrerInfo.extraData.code,
                                        userId: this.$store.state.user.userId
                                    }
                                });

                              case 6:
                                n = e.sent, console.log("%c extraData ", "color: white; background-color: #34aaff", t.referrerInfo, n.data);

                              case 8:
                              case "end":
                                return e.stop();
                            }
                        }, e, this);
                    }));
                    return function(t) {
                        return e.apply(this, arguments);
                    };
                }(),
                onHide: function() {}
            };
            t.default = i;
        }).call(this, n("543d").default);
    },
    f297: function(e, t, n) {
        var o = n("49ef");
        n.n(o).a;
    }
}, [ [ "27ae", "common/runtime", "common/vendor" ] ] ]);
</script>
